#output as png image
set terminal png

#save file to "domain.png"
set output "benchGraphStatic.png"

#graph title
set title "num of requests at querytime"

#nicer aspect ratio for image size
set size 1,0.7

# y-axis grid
set grid y

#x-axis label
set xlabel "request"

#y-axis label
set ylabel "response time (ms)"

#plot data from "benchTest.dat" using column 9 with smooth sbezier lines
#and title of "something" for the given data
plot "apache_ab_results_1000_50_happy.dat" using 9 smooth sbezier with lines title "against 1000 db rows" ,\
   "apache_ab_results_1000_50_app_db2500rows.dat" using 9 smooth sbezier with lines title "against 2500 db rows"  ,\
   "apache_ab_results_1000_50_app_db2500_puddate_index.dat" using 9 smooth sbezier with lines title "against 2500 db rows with pub_date index"   ,\
   "apache_ab_results_1000_50_app_db2500_puddate_kind_index.dat" using 9 smooth sbezier with lines title "against 2500 db rows with pub_date & kind index" 


